package com.cx.service;

import com.cx.dao.FoodDao;
import com.cx.entity.Foods;
import lombok.Data;

@Data
public class FoodServiceImpl implements FoodService {
   private FoodDao foodDao;
   @Override
   public Foods getOneFoodById(int id) {
Foods food =foodDao.selectFoodById(id);
return food;
   }
}
